package com.example.demo.Dao;

import com.example.demo.Entity.Customer;
import com.example.demo.Entity.Vendor;

import java.util.List;

public interface VendorMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Vendor record);

    int insertSelective(Vendor record);

    Vendor selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Vendor record);

    int updateByPrimaryKey(Vendor record);

    List<Vendor> selectAll();

    List<Vendor> selectByVendorName(String vendorname);

}